#ifndef BULLET_H
#define BULLET_H

#include <system/application.h>
#include <graphics/mesh_instance.h>
#include <maths/vector3.h>
#include "Meshes.h"
#include "GameObject.h"
class Bullet : public GameObject 
{
public:

	Bullet();
	~Bullet();

	void SetOutOfRange(bool value);
	void SetRotationAngle(float angle);
	void SetMarkerInstance(abfw::Matrix44 mat);

	float GetAngle();
	bool IsOutOfRange();
	abfw::Matrix44 GetMarkerInstance();

	bool trash;
	int life;
private:

	bool mOutOfRange;
	abfw::Vector3 mVelocity;
	float mDirection;
	abfw::Matrix44 marker_instance;
};

#endif